package com.alm.token.ui.data.bean;

import com.alm.token.base.BaseAdapter;

import java.util.List;

/**
 * Created by en on 2019/1/4.
 */

public class CandyOrderListData {

    /**
     * msg : success
     * status : 0
     * data : [{"moneyname":"G12","money":9.0,"qrcode":"http://v.babih.com/api/candy/home?mycode=51","shiji":null,"id":51,"time":1553309883000,"status":0}]
     * success : false
     * total : null
     */

    private String msg;
    private int status;
    private boolean success;
    private Object total;
    private List<DataBean> data;

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public Object getTotal() {
        return total;
    }

    public void setTotal(Object total) {
        this.total = total;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean extends BaseAdapter.BaseItem {

        /**
         * moneyname : G12
         * money : 9.0
         * qrcode : http://v.babih.com/api/candy/home?mycode=51
         * shiji : 0.00
         * id : 51
         * time : 1553309883000
         * status : 0
         */

        private String moneyname;
        private double money;
        private String qrcode;
        private double shiji;
        private int id;
        private long time;
        private int status;

        public String getMoneyname() {
            return moneyname;
        }

        public void setMoneyname(String moneyname) {
            this.moneyname = moneyname;
        }

        public double getMoney() {
            return money;
        }

        public void setMoney(double money) {
            this.money = money;
        }

        public String getQrcode() {
            return qrcode;
        }

        public void setQrcode(String qrcode) {
            this.qrcode = qrcode;
        }

        public double getShiji() {
            return shiji;
        }

        public void setShiji(double shiji) {
            this.shiji = shiji;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public long getTime() {
            return time;
        }

        public void setTime(long time) {
            this.time = time;
        }

        public int getStatus() {
            return status;
        }

        public void setStatus(int status) {
            this.status = status;
        }
    }
}
